package com.qili.util;

import lombok.Data;

import java.io.File;

/**
 * @author zhaoyongke
 * @date 2020/11/4
 * @description
 */
@Data
public class LoadType {
    private String originalFileName;
    private String fileName;
    private File currentFile;
    private String suffix;
    public String getFilePath(){
        return currentFile.getPath();
    }
    public String getImagePath(){
        return "/images/"+fileName;
    }
    public String getUserPath(){
        return "/user/"+fileName;
    }
    public String getArtImagePath() {return "/imgs/"+fileName; }
}
